/**
 *ThingDao主要对Todo事物进行操作
 */
package com.zhao.dao.inf;

import java.util.List;
import java.util.Map;

import com.zhao.condition.Condition;
import com.zhao.entity.Thing;
import com.zhao.entity.User;
import com.zhao.utils.PageUtils;

public interface ThingDao {

	void addThing(Thing thing, User user);

	int getTotalThing(User user, List<Condition> conditions);

	List<Map<String, Object>> getThings(PageUtils pageUtils, User user, List<Condition> conditions);

	void finishThingSingle(int thingid);
	
}
